﻿using KanbanBoard.Server.Command.DomainModel;
using KanbanBoard.Tests.Server.Utils.DSL;

namespace KanbanBoard.Tests.Server.Command.DomainModel {
    public class DomainModelTestBase {
        protected TaskBoard board;

        protected string InitialBoard {
            set { board = value.ToBoard(); }
        }

        protected void AssertBoardLooksLike(string expected) {
            HeyAssert.That(board)
                .LooksLike(
                    expected);
        }
    }
}